import 'package:flutter/material.dart';
import 'package:sample2/pages/samples/animation/animation1.dart';

class AnimationPage extends StatelessWidget {
  const AnimationPage({super.key});
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: ListView(
        children: [
          Row(
            children: [
              TextButton(
                  onPressed: () {
                    Navigator.push(context,
                        MaterialPageRoute(builder: (context) {
                      return const Animation1();
                    }));
                  },
                  child: const Text("Animation & AnimationController"))
            ],
          )
        ],
      ),
    );
  }
}
